const baseUrl = 'http://124.70.104.88';
const layerIp = `${baseUrl}:9066`;

window.baseUel = `${baseUrl}:8021`;
window.serviceUrl = {
  terrainUrl: `http://data.mars3d.cn/terrain`,
  // skyImageUrl: `${layerIp}/tile/img_proxy/tdt_img_c_proxy/getTile/{TileMatrix}/{TileCol}/{TileRow}`
  skyImageUrl: 'http://{s}.tianditu.gov.cn/img_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=c&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=1fd463af45319bc45b394dac4a87006b'
};

// 模型配置
window.modelConfig = {
  maximumScreenSpaceError: 32,
  skipScreenSpaceErrorFactor: 32,
  maximumMemoryUsage: 1024,
  skipLevels: 2
};

// 资源限制
window.resourceAstrict = {
  modelAstrict: 30,
  layerAstrict: 30,
  markAstrict: 30
};

// 是否开启缩放
window.turnOnZoom = true;
window.basicWidth = 1920;
window.basicHeight = 1009;
window.scale = {};
